<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>线路驾驶规范分析</title>
    <script>
        var requireExtraPaths = {
            extrance: '../../../report_js/dataAnalysis/lineDrvStandard'
        };
        var cssFileLoadArr = ['/content/css/sub/homePage.css', '/content/css/sub/lineDrvStandard.css'];
    </script>
    <script type="text/html" id="temp">
        <div class="black-spots-pop">
            <h3 class="clearfix"><span>{{areaName}}</span>位置： </h3>

            <div class="clearfix">
                <div class="fl">
                    <table width="100%">
                        <tbody>
                        <tr>
                            <th width="25%" class="al">不良行为</th>
                            <th class="ac">限值</th>
                            <th width="45%" class="ar">违规次数</th>
                        </tr>
                        {{each badBhvStandard as list i2}}
                        <tr>
                            <td class="al">{{list.badBhvName}}</td>
                            <td class="ac">{{list.threVal}}</td>
                            <td class="ar">{{list.freq}} 次
                                {{if list.freqGth >0}}↑{{/if}}
                                {{if list.freqGth <0}}↓{{/if}}
                                {{list.freqGth}}%</td>
                        </tr>
                        {{/each}}
                        <tr>
                            <td class="al fw-b">总计</td>
                            <td class="ac">&nbsp;</td>
                            <td class="ar fw-b">{{freq}} 次
                                {{if freqGth >0}}↑{{/if}}
                                {{if freqGth <0}}↓{{/if}}
                                {{freqGth}}%
                            </td>
                        </tr>
                        </tbody>
                    </table>
                </div>
                <div class="fr">
                    <table width="100%">
                        <tbody>
                        <tr>
                            <th class="al" colspan="3">不良行为排名(前3)</th>
                        </tr>
                        {{each badBhvSort as list i2}}
                        <tr>
                            <td width="30%"><span class="rank-flag">{{list.rn}}</span></td>
                            <td width="35%" class="ac">{{list.drvName}}</td>
                            <td class="ar">{{list.freq}}次</td>
                        </tr>
                        {{/each}}
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </script>
    <script type="text/javascript"
            src="http://webapi.amap.com/maps?v=1.3&key=7d24e3c0b1de00fcfc07dcb16ac3a087"></script>
    <jsp:include flush="true" page="../../base/base.jsp"></jsp:include>
</head>
<body class="site-body overflow-a">

<div class="index-content">
    <div class="time-select-fixed" style="width: 100%;">
        <div class="time-select-bar ct-shadow clearfix">
            <div class="line-select">
                <span class="text">线路选择</span>
                <span id="showlineName"></span>

                <div class="line-wrap">
                    <input type="text" class="search-input" id="lineSelected">

                    <div class="tree-box">
                        <ul id="lineTree" class="ztree line-dropdown"></ul>
                    </div>
                </div>
            </div>
            <div class="time-select time-select2  ml0" id="dateDiv">
                <a class="active" val="02">昨天</a>
                <a val="03">近7天</a>
                <a val="04">本月</a>
                <a val="05">上月</a>
                <a val="06">今年</a>
                <a val="07">去年</a>
            </div>
        </div>
    </div>
    <div class="blank-65"></div>
    <div class="line-driver-standard ct-shadow">
        <h3 id="title1">区域不良行为统计(2017-02-06~2017-02-16)</h3>

        <div class="chart-area clearfix">
            <div class="item">
                <h4><a id="all-1">全部排名 》</a>黑点（前5）</h4>

                <div class="ac" style="padding-top: 17px;height: 198px;" id="chart1">
                </div>
                <p id="info1"></p>
            </div>

            <div class="item item-s">
                <h4><a id="all-2">全部排名 》</a>站点（前5）</h4>

                <div class="ac" style="padding-top: 17px;height: 198px;" id="chart2">
                </div>
                <p id="info2"></p>
            </div>

            <div class="item">
                <h4><a id="all-3">全部排名 》</a>站点区间（前5）</h4>

                <div class="ac" style="padding-top: 17px;height: 198px;" id="chart3">
                </div>
                <p id="info3"></p>
            </div>

            <div class="item item-s">
                <h4>非营运状态</h4>

                <div class="ac" style="padding-top: 17px;height: 198px;" id="chart4">
                </div>
                <p id="info4"></p>
            </div>
        </div>
        <div class="chart-comment" style="text-align: center;" id="chart-legend">
            <%--<img src="../../content/images/chart-comment_07.png" width="319" height="39">--%>
        </div>
        <div class="chart-area2 clearfix">
            <div class="item">
                <div class="ac" style="padding-top: 48px;height:165px;" id="chart5">
                </div>
            </div>
            <div class="item item-s">
                <div class="ac" style="padding-top: 48px;height:165px;" id="chart6">
                </div>
            </div>
            <div class="item">
                <div class="ac" style="padding-top: 48px;height:165px;" id="chart7">
                </div>
            </div>
            <div class="item item-s">
                <div class="ac" style="padding-top: 48px;height:165px;" id="chart8">
                </div>
            </div>
        </div>
    </div>
    <div class="ct-grid-2 line-driver-standard2 clearfix mt25">
        <div class="col-sub">
            <div class="inner-box">
                <div class="ct-shadow pt0 pb0" style="height:335px">
                    <h3 class="title-style4">区域不良行为趋势图</h3>

                    <div style="height: 272px;" id="chart9">
                    </div>
                </div>
            </div>
        </div>
        <div class="col-extra">
            <div class="inner-box">
                <div class="ct-shadow pt0 pb0" style="height:335px">
                    <h3 class="title-style4 clearfix"><a class="all-rank" id="all-4">全部排名 》</a>驾驶员不良行为数量排名(前5)</h3>

                    <div class="index2-table-wrap">
                        <table width="100%" border="0" cellspacing="0" cellpadding="0" id="table1">
                            <tr>
                                <th width="14%">排名</th>
                                <th width="14%">姓名</th>
                                <th width="14%">黑点</th>
                                <th width="14%">站点</th>
                                <th width="14%">站点区间</th>
                                <th width="14%">非营运</th>
                                <th>总次数</th>
                            </tr>

                        </table>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div class="line-driver-standard3 clearfix">
        <div class="ct-shadow" id="item3">
            <h3 class="title-style4 ps-r">
                <a class="tab1 active" id="behaviorMap-btn">线路区域不良行为地图</a>
                <span class="line">|</span>
                <a class="tab1" id="heatMap-btn">城市不良行为热力图</a>

                <div class="fr" id="filter-area">
                    <label class="label-text">区域类型：</label>

                    <select style="width: 180px;" name="areaType" id="areaType">
                        <option value="B">黑点</option>
                        <option value="S">站点</option>
                    </select>

                    <span class="radio-wrap">
                        <input type="radio" id="radio-up" value="LIT00001" name="lineTy" checked><label
                            for="radio-up">上行</label>
                    </span>
                    <span class="radio-wrap">
                        <input type="radio" id="radio-down" value="LIT00002" name="lineTy"><label
                            for="radio-down">下行</label>
                    </span>
                    <a class="tab2 active ml10" id="behavior-fb-btn">地图行为分布</a>
                    <a class="tab2" id="time-fb-btn">时间行为分布</a>
                </div>
            </h3>
            <div class="map-box" id="iCenter">

            </div>

            <div id="time-behavior-div" class="map-box" style="display: none;">
                <div style="height: 445px;" id="chart10"></div>
                <div class="select-area">
                    <label class="label-text">不良行为：</label>
                    <select id="badBhvSelect" style="width:200px;">
                        <option value="">全部</option>
                    </select>
                </div>
            </div>

        </div>
    </div>

    <div style="height: 20px;"></div>
</div>


<div class="mask-wrap" style="display: none;" id="table2">
    <div class="mask-bg"></div>
    <div class="table-wrap driver-behavior-table" style="width: 1300px;margin-left: -650px;">
        <table class="table-style8 table-nowrap" width="100%">
            <tbody>
            <tr>
                <th width="70">排名</th>
                <th width="">黑点名称</th>
                <th width="">方向</th>
                <th width="200">黑点性质</th>
                <th width="220">地段特点</th>
                <th width="120">经度</th>
                <th width="120">纬度</th>
                <th width="60">半径</th>
                <th width="60">限速</th>
                <th width="70">行为总数</th>
            </tr>
            </tbody>
        </table>
        <a class="close-btn" onclick="javascript:$('#table2').hide();"></a>

        <div class="page-nav2" id="table2-page">
        </div>

    </div>

</div>

<div class="mask-wrap" style="display: none;" id="table3">
    <div class="mask-bg"></div>
    <div class="table-wrap driver-behavior-table" style="width: 1300px;margin-left: -650px;">
        <table class="table-style8 table-nowrap" width="100%">
            <tbody>
            <tr>
                <th width="70">排名</th>
                <th width="">站点名称</th>
                <th width="">方向</th>
                <th width="150">站点类型</th>
                <th width="150">经度</th>
                <th width="150">纬度</th>
                <th width="100">进站半径</th>
                <th width="100">出站半径</th>
                <th width="100">限速</th>
                <th width="100">行为总数</th>
            </tr>
            </tbody>
        </table>
        <a class="close-btn" onclick="javascript:$('#table3').hide();"></a>

        <div class="page-nav2" id="table3-page">
        </div>

    </div>

</div>

<div class="mask-wrap" style="display: none;" id="table4">
    <div class="mask-bg"></div>
    <div class="table-wrap driver-behavior-table">
        <table class="table-style8 table-nowrap" width="100%">
            <tbody>
            <tr>
                <th width="10%">排名</th>
                <th width="">站点区间</th>
                <th width="">方向</th>
                <th width="20%">行为总数</th>
            </tr>
            </tbody>
        </table>
        <a class="close-btn" onclick="javascript:$('#table4').hide();"></a>

        <div class="page-nav2" id="table4-page">
        </div>

    </div>

</div>

<div class="mask-wrap" style="display: none;" id="table5">
    <div class="mask-bg"></div>
    <div class="table-wrap driver-behavior-table">
        <table class="table-style8 table-nowrap" width="100%">
            <tbody>
            <tr>
                <th width="70">排名</th>
                <th width="">姓名</th>
                <th width="120">黑点</th>
                <th width="120">站点</th>
                <th width="120">站点区间</th>
                <th width="120">非营运</th>
                <th width="120">总次数</th>
            </tr>
            </tbody>
        </table>
        <a class="close-btn" onclick="javascript:$('#table5').hide();"></a>

        <div class="page-nav2" id="table5-page">
        </div>

    </div>

</div>

<script type="text/javascript">
    $(".mask-wrap .close-btn").click(function () {
        $(".site-body").addClass("overflow-a");
    });
</script>
</body>
</html>